package com.gxa.www.cl.service;

import com.gxa.www.cl.common.util.PurchaseDetail;
import com.gxa.www.cl.domain.vo.PurchaseOrders;

import java.util.List;

public interface PurchaseDetailService {

    // 获取采购单信息
    List<PurchaseDetail> getPurchaseDetails();

    // 添加采购明细
    String addPurchaseDetail(PurchaseDetail purchaseDetail);

    // 获取药品类别
    List<String> getMedicineCategories();

    // 根据类别获取药品
    List<String> getMedicinesByCategory(String category);

    List<PurchaseOrders> getPurchaseOrders();

    void DeletePurchaseOrders(Integer id);

    void UpdatePurchaseOrders(PurchaseOrders purchaseOrders);
}
